package edu.whut.mall.admin.mapper;

import edu.whut.mall.model.SysUserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName SysUserRoleCustomMapper
 * @Description
 * @Author lvfanbing
 * @Date 2020-10-17 16:13
 * @Version 1.0
 */
public interface SysUserRoleCustomMapper {
    /**
     * @Description 批量为管理员分配角色
     * @param  userRoleList
     * @return
     * @Author lvfanbing
     * @Date 2020/10/17 16:14
     */
    int batchInsert(@Param("userRoleList") List<SysUserRole> userRoleList);
}
